import {combineReducers, createStore, applyMiddleware} from "redux";
import thunkMiddleware from 'redux-thunk';
import {contentReducer} from "./redux-reducer";

const reducer = combineReducers({
    contentReducer
});

export const store = createStore(reducer, applyMiddleware(thunkMiddleware));

